package com.bayihouse.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bayihouse.model.entity.Announcement;
import com.bayihouse.model.request.announcement.AnnouncementQueryRequest;
import com.bayihouse.model.vo.AnnouncementDetailVO;
import com.bayihouse.model.vo.AnnouncementVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【announcement】的数据库操作Service
* @createDate 2025-04-26 19:47:17
*/
public interface AnnouncementService extends IService<Announcement> {


     List<AnnouncementVO> getAnnouncementVOList(List<com.bayihouse.model.entity.Announcement> records);

     AnnouncementVO getAnnouncementVO(Announcement anncouncement) throws Exception;

     AnnouncementDetailVO getAnnouncementDetailVO(Announcement anncouncement) throws Exception;

     Wrapper<Announcement> getQueryWrapper(AnnouncementQueryRequest anncouncementQueryRequest);
}
